package com.logistics.socket.model;

import lombok.Data;

import java.util.List;

@Data
public class RequestSchedulingModel {

    private RequestKeyModel key;

    private List<RequestValueModel> value;

    public RequestSchedulingModel(){

    }

    public RequestSchedulingModel(RequestKeyModel key, List<RequestValueModel> value) {
        this.key = key;
        this.value = value;
    }

    public static RequestSchedulingModel build(RequestKeyModel key, List<RequestValueModel> value) {
        return new RequestSchedulingModel(key, value);
    }
}
